package LECONGHAU.OOP.LUYENTAP.BAI3;

import java.util.Scanner;


public class VIEWS {
public static void main(String[] args) {
	System.out.println("moi nhap vao a");
	Scanner sc=new Scanner(System.in);
	double a=sc.nextDouble();
	System.out.println("moi nhap vao b: ");
	double b=sc.nextDouble();
	CONTROLLERS con=new CONTROLLERS();
//	con.ptb1(a, b);
	if(a==0){
		if(b==0){
			System.out.println("phuong trinh vo so nghiem");
		}else {
			System.out.println("phuong trinh vo nghiem");
		}
	}else {
		System.out.println("phuong trinh co nghiem la: "+con.ptb1(a, b));
	}
}
}
